<!doctype html>
<html>

	<head>
		<meta charset="utf-8">
		<title>{$title}</title>
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<meta name="format-detection" content="telephone=no">
		<meta name="renderer" content="webkit">
		<meta http-equiv="Cache-Control" content="no-siteapp" />
		<link rel="stylesheet" href="/static/index/amazeui/css/amazeui.min.css"/>
		<link rel="stylesheet" href="/static/index/default/style.css"/>
		<script src="/static/index/amazeui/js/jquery.min.js"></script>
		<script src="/static/index/amazeui/js/amazeui.min.js"></script>
	</head>

	<body>
		<div class="container">
			<header data-am-widget="header" class="am-header am-header-default my-header">
				<div class="am-header-left am-header-nav">
					<a href="javascript:window.history.back();" class="">
						<i class="am-header-icon am-icon-chevron-left"></i>
					</a>
				</div>
				<h1 class="am-header-title">{$title}</h1>
				<div class="am-header-right am-header-nav">
					<a href="/index/index.html" class="">
						<i class="am-header-icon  am-icon-home"></i>
					</a>
				</div>
			</header>
			<!-- banner -->
			<div data-am-widget="slider" class="am-slider am-slider-a1" data-am-slider='{&quot;directionNav&quot;:false}'>
				<ul class="am-slides">
					<li>
						<img src="{$info.courseimg}">
					</li>
				</ul>
			</div>
			<div class="gray-panel" style="background: #fff;">
				<div class="paoduct-title-panel" style=" border-bottom: 2px solid #eaeaea;">
					<h1 class="product-h1">{$info.coursename}</h1>
					<p>
						<span class="bold">授课老师：</span>
						<span class="" style="color:#f17304;">{$info.teachername}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<span class="" style="color:#11920a;">已有{$info.getPJCount}人参评</span>
					</p>
					<p>
						<span style="font-weight: 700;font-size: 1.6rem;color: red;">评教时间段：{$info.startData}<i>至 </i>{$info.endData}</span>
					</p>
				</div>
				
				<!-- 介绍 -->
				<div data-am-widget="tabs" class="am-tabs am-tabs-d2">
					<ul class="am-tabs-nav am-cf">
						<li class="am-active">
							<a href="[data-tab-panel-0]">课程介绍</a>
						</li>
						<li class="">
							<a href="[data-tab-panel-1]">授课教师介绍</a>
						</li>
					</ul>
					<div class="am-tabs-bd">
						<div data-tab-panel-0 class="am-tab-panel am-active">【课程介绍】{$info.coursenote}</div>
						<div data-tab-panel-1 class="am-tab-panel">【教师介绍】{$info.teachernote}</div>

					</div>
				</div>
			
				<div style="margin: 0 2.6% 3%;">
					{if condition="$Think.session.indexUserInfo.type == 2"}
						{if condition="$state > 0"}
		            		<a href="javascript:;" class="am-btn am-btn-success am-btn-block am-radius" disabled="disabled">已评</a>
						{else /}
							<a href="/index/pingjiao/pingjiaopage.html?etypeid=1" class="am-btn am-btn-success am-btn-block am-radius">去评教</a>
						{/if}
		            		
					{else /}
						{if condition="$Think.session.indexUserInfo.id == $tid"}
			            	{if condition="$jszp > 0"}
			            		<a href="javascript:;" class="am-btn am-btn-success am-btn-block am-radius" disabled="disabled">已自评</a>
							{else /}
								<a href="/index/pingjiao/pingjiaopage.html?etypeid=2" class="am-btn am-btn-success am-btn-block am-radius">自评</a>
							{/if}
						{/if}
						
						{if condition="$Think.session.indexUserInfo.id != $tid"}
			            	{if condition="$thpj > 0"}
			            		<a href="javascript:;" class="am-btn am-btn-success am-btn-block am-radius" disabled="disabled">该同行已评</a>
							{else /}
								<a href="/index/pingjiao/pingjiaopage.html?etypeid=3" class="am-btn am-btn-success am-btn-block am-radius">评同行</a>
							{/if}
						{/if}
						
						{if condition="$userRole.name == '教研室领导'"}
							{if condition="$jyld > 0"}
			            		<a href="javascript:;" class="am-btn am-btn-success am-btn-block am-radius" disabled="disabled">教研室已评</a>
							{else /}
								<a href="/index/pingjiao/pingjiaopage.html?etypeid=4" class="am-btn am-btn-success am-btn-block am-radius">{$userRole.name}评教</a>
							{/if}
						{/if}
						{if condition="$userRole.name == '系部领导'"}
							{if condition="$xbld > 0"}
			            		<a href="javascript:;" class="am-btn am-btn-success am-btn-block am-radius" disabled="disabled">系部已评</a>
							{else /}
								<a href="/index/pingjiao/pingjiaopage.html?etypeid=5" class="am-btn am-btn-success am-btn-block am-radius">{$userRole.name}评教</a>
							{/if}
		            		
						{/if}
					{/if}
				</div>
			</div>
			
		<!--引入底部文件 -->
		{include file="common/footer" /}

		<!-- 底部完 -->
		<input type="hidden" id="etaskid" value="{$info.etask_id}" />
		<input type="hidden" id="classid" value="{$info.classid}" />
		<input type="hidden" id="courseid" value="{$info.courseid}" />
		<input type="hidden" id="teacherid" value="{$info.teacherid}" />
		</div>
		<script>
			$(function(){
				window.localStorage.setItem('oes_etaskid',$('#etaskid').val());
				window.localStorage.setItem('oes_classid',$('#classid').val());
				window.localStorage.setItem('oes_courseid',$('#courseid').val());
				window.localStorage.setItem('oes_teacherid',$('#teacherid').val());
			})
		</script>
		<!--<script src="/static/index/js/vue.js"></script>
		<script src="/static/index/js/vue-resource.js"></script>
		<script src="/static/index/js/pingjiao/index.js"></script>
		<script src="/static/index/js/layer/mobile/layer.js"></script>
		<style>
			.layui-m-layercont {
			    padding: 19px 30px;
			}
			.layui-m-layerbtn span {
			    font-size: 2rem;
			}
		</style>-->
	</body>

</html>